package com.echat.messagesender.sender.bean;

import java.io.Serializable;

/**
 * Created by chenmohan on 2018/08/15
 *
 * @description
 */
public class EchatSendEmailInfo implements Serializable {

    /**
     * 【必填】客户id,消息发送服务分配的唯一标识
     */
    private Long userId;

    /**
     * 【必填】邮件名
     */
    private String title;

    /**
     * 邮件正文内容：文本内容,模板id不为空时该字段无效
     */
    private String content;

    /**
     * 【必填】邮件接收人
     */
    private String[] receivers;

    /**
     * 抄送(SMTP协议有效)
     */
    private String[] ccReceivers;

    /**
     * 暗抄送(SMTP有效)
     */
    private String[] bccReceivers;

    /**
     * 回执收件人(SMTP有效)
     */
    private String replyEmail;

    /**
     * 邮件模板id
     */
    private String templateId;

    /**
     * 使用邮件模板 替换的参数map
     */
    private String vars;

    /** getter and setter */

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String[] getReceivers() {
        return receivers;
    }

    public void setReceivers(String[] receivers) {
        this.receivers = receivers;
    }

    public String[] getCcReceivers() {
        return ccReceivers;
    }

    public void setCcReceivers(String[] ccReceivers) {
        this.ccReceivers = ccReceivers;
    }

    public String[] getBccReceivers() {
        return bccReceivers;
    }

    public void setBccReceivers(String[] bccReceivers) {
        this.bccReceivers = bccReceivers;
    }

    public String getReplyEmail() {
        return replyEmail;
    }

    public void setReplyEmail(String replyEmail) {
        this.replyEmail = replyEmail;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public String getVars() {
        return vars;
    }

    public void setVars(String vars) {
        this.vars = vars;
    }
}
